﻿using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    public class EntityAccount
    {
        /// <summary>
        /// 账号信息
        /// </summary>
        [Table("AA001")]
        public class Account
        {
            public Account()
            {
                //this.crattime = DateAndTime.Now;
                this.ID = Guid.NewGuid();
            }
            [Key]
            [Column("AA01")]
            /// <summary>
            /// 主键ID
            /// </summary>
            public Guid ID { get; set; }
            [Required]
            [Column("AA02")]
            /// <summary>
            /// 账户名
            /// </summary>
            public string? Name { get; set; }

            public int datatime { get; set; }
        }
    }
}
